package net.xinqushi.common;

import java.util.HashMap;
import java.util.Map;

/**
 * @author xjie 2019/9/17 15:12
 * @description  enum 测试
 */
public class enumTest {

    public static void main(String[] args) {
        System.out.println(ZXEPRONUM.fundType.ZX_INNER.code);

        byte[] bytes = {48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
        String str = new String(bytes);
        System.out.println(str);
        System.out.println(str.length());
        System.out.println(str.equals(0));
    }

    static class   ZXEPRONUM{
        public enum fundType{
            ZX_INNER("ZX_INNER","振兴银行-表内"),
            ;
            public String code;
            public String desc;
            fundType(String code , String desc){
                this.code = code;
                this .desc = desc;
            }
        }

        public enum idType{
            SFZ("123123123","身份证"),

            ;
            public String code;
            public String desc;
            idType(String code , String desc){
                this.code = code;
                this .desc = desc;
            }
        }

    }

}
